//package com.zomiot.portal.aichat.config;
//
//import lombok.RequiredArgsConstructor;
//import org.springframework.ai.embedding.EmbeddingClient;
//import org.springframework.ai.vectorstore.SimpleVectorStore;
//import org.springframework.ai.vectorstore.VectorStore;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//
///**
// * @ClassName AiConfig
// * @Author 阿⭐
// * @Date 2025/11/5 16:00
// * @Description TODO
// */
//@Configuration
//@RequiredArgsConstructor
//public class AiConfig {
//
//    private final EmbeddingClient embeddingClient;
//
//    @Bean
//    public VectorStore vectorStore() {
//        return new SimpleVectorStore(embeddingClient);
//    }
//}
